<form id="pagerForm" action="__URL__/multiAdminList" method="get">
    <input type="hidden" name="p" value="1" />
    <input type="hidden" name="numPerPage" value="{$numPerPage}" />
    <input type="hidden" name="orderField" value="{$orderField}" />
    <input type="hidden" name="orderDirection" value="{$param.orderDirection}" />
</form>


<div class="pageHeader">
    <form rel="pagerForm" onsubmit="return dwzSearch(this,'dialog');" action="__URL__/multiAdminList" method="post">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    登录帐号：
                    <input type="text" id="admin_name" value="{$filters.admin_name}" style="height: 20px;" name="admin_name" />
                </td>
                <td>
                    所属岗位：
                            <select name="group" id="group">
                                <option value="0">请选择</option>
                                <volist name="groups" id="group">
                                    <option value="{$key}" <?php echo $key== $filters['group'] ? "selected='true'" : "";?>>
                                        {$group}
                                    </option>
                                </volist>
                            </select>
                </td>
            </tr>
        </table>

        <div class="subBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button type="button" multLookup="adminId" warn="请选择">选择带回</button></div></div></li>

            </ul>
        </div>
    </div>
    </form>
</div>
<div class="pageContent">
    <table class="table" width="100%" targetType="dialog" layoutH="138">
        <thead>
            <tr>
                <th width="30" align="center">
                    <input type="checkbox" class="checkboxCtrl" group="adminId" />
                </th>
                <th width="120" align="center" orderField="admin_name" class="asc">
                    登录帐号
                </th>
                <th width="120" align="center" orderField="name" class="asc">
                    姓名
                </th>
                <th>
                    所属岗位
                </th>
            </tr>
        </thead>
        <tbody>

        <volist name="list" id="admin">
            <tr rel="{$admin.admin_id}" target="adminId">
                <td>
                    <input type="checkbox" name="adminId" value="{id:'<?php echo $admin['admin_id']; ?>', name:'<?php echo $admin['name']; ?>'}"/></td>
                <td>{$admin.admin_name}</td>
                <td>{$admin.name}</td>
                <td>{$admin.groups}</td>
            </tr>
        </volist>


        </tbody>
    </table>
    <div class="panelBar">
        <div class="pages">
<!--             <span>显示</span>
            <select name="numPerPage" onchange="dwzPageBreak({targetType:dialog, numPerPage:this.value})">
                <option value="20" <?php echo $numPerPage == 20 ? 'selected="true"' : '' ; ?> >20</option>
                <option value="50" <?php echo $numPerPage == 50 ? 'selected="true"' : '' ; ?>>50</option>
                <option value="100" <?php echo $numPerPage == 100 ? 'selected="true"' : '' ; ?> >100</option>
                <option value="200" <?php echo $numPerPage == 200 ? 'selected="true"' : '' ; ?> >200</option>
            </select>
            <span>条，共{$totalCount}条</span> -->
        </div>

        <div class="pagination" targetType="dialog" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="10" currentPage="{$currentPage}"></div>
    </div>
</div>
